<?php foreach ($answers as $answer): ?>
    <div class="doctor-recent-top-answer-row">
        <span class="member-question">
            <a href="<?php echo url_for('@question_show?id=' . $answer->getQuestionId()) ?>"><?php echo $answer->getQuestion()->getEnquiry() ?></a>
        </span>
        <p class="top-answer">
            <?php echo $answer->getResponse() ?>
        </p>
    </div>
<?php endforeach; ?>